//
//  CommentImageCollectionViewCell.m
//  AnXin100
//
//  Created by 天质弘耕 on 2018/11/27.
//  Copyright © 2018 tzhg. All rights reserved.
//

#import "CommentImageCollectionViewCell.h"

@interface CommentImageCollectionViewCell ()

@property (nonatomic, strong) UIImageView *commentImage;

@end

@implementation CommentImageCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _commentImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.mj_w, self.mj_h)];
        [self addSubview:_commentImage];
        
    }
    return self;
}

- (void)setImageUrlStr:(NSString *)imageUrlStr {
    
    _imageUrlStr = imageUrlStr;
    [_commentImage sd_setImageWithURL:[NSURL URLWithString:_imageUrlStr]];
    
}

@end
